<template>
	<view class="content">
		<view class="detail">
			<view class="img">
				<image :src="'https://www.lishanglaiwang.com/attachment/'+loupan.thumb" style="display: inline-block; width: 572px;height: 572px;margin-right: 10px;"></image>
				
			</view>
		</view>
	</view>
</template>

<script>
	import { loupandetail } from '@/api/product';
	import moment from '@/common/moment';
	export default {
		components: {  },
		data() {
			return {
				loupan:{
					
				}
			};
		},
		onLoad(e) {
			loupandetail(e.id).then(data => {
				this.loupan=data
			});
		},
		methods: {
			// 通用跳转
			navTo(route) {
				if (!route) return;
				this.$mRouter.push({
					route
				});
			},
		},
		filters: {
			time(val) {
				return moment(val * 1000).format('YYYY-MM-DD HH:mm:ss');
			},
			date(val) {
				return moment(val * 1000).format('YYYY-MM-DD');
			},
		},
	};
</script>

<style lang="scss">
	@import url("@/static/css/common.css");
	page {
		background-color: $page-color-base;
	}
	.img{
		margin: auto;
	}
</style>
